﻿@model Cdx.Ui.Models.Model

<!DOCTYPE html>

<html>
<head>
    <link href="~/Styles/Shared/_MainLayout.css" rel="stylesheet" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
</head>
<body>
    <div id="divHeader">
        <img id="imgLogo" src="~/Images/network_software_gear.png"/>
        <label id="labelLogo">Clodox</label>
        @if(@Model.CurrentUser != null)
        {
            <label id="labelUser">@Model.CurrentUser.Name</label> 
            <img id="imgUser" src="~/Images/User.png" />      
        }
    </div>   
    <div id="divCommands">
        @if(@Model.CurrentUser != null)
        {
            @Html.Partial("~/Views/Shared/CommandBar.cshtml")
        }
    </div>
    <div id="divBody">
        @RenderBody()
    </div>
    <div id="divFooter">

    </div>
</body>
</html>
